.class public Lcom/hierynomus/smbj/smb2/messages/i;
.super Lcom/hierynomus/smbj/smb2/d;
.source "SMB2NegotiateResponse.java"


# instance fields
.field private c:I

.field private d:Lcom/hierynomus/smbj/smb2/SMB2Dialect;

.field private e:Ljava/util/UUID;

.field private f:J

.field private g:I

.field private h:I

.field private i:I

.field private j:Ljava/util/Date;

.field private k:Ljava/util/Date;

.field private l:[B


# direct methods
.method public constructor <init>()V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/hierynomus/smbj/smb2/d;-><init>()V

    return-void
.end method

.method private a(Lcom/hierynomus/protocol/commons/buffer/Buffer;)I
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/hierynomus/protocol/commons/buffer/Buffer<",
            "*>;)I"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/hierynomus/protocol/commons/buffer/Buffer$BufferException;
        }
    .end annotation

    .line 4
    iget-object v0, p0, Lcom/hierynomus/smbj/smb2/messages/i;->d:Lcom/hierynomus/smbj/smb2/SMB2Dialect;

    sget-object v1, Lcom/hierynomus/smbj/smb2/SMB2Dialect;->SMB_3_1_1:Lcom/hierynomus/smbj/smb2/SMB2Dialect;

    if-ne v0, v1, :cond_0

    .line 5
    invoke-virtual {p1}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->g()I

    move-result p1

    return p1

    :cond_0
    const/4 v0, 0x2

    .line 6
    invoke-virtual {p1, v0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->g(I)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    const/4 p1, 0x0

    return p1
.end method

.method private a(Lcom/hierynomus/smbj/common/b;II)V
    .locals 1

    .line 1
    iget-object p3, p0, Lcom/hierynomus/smbj/smb2/messages/i;->d:Lcom/hierynomus/smbj/smb2/SMB2Dialect;

    sget-object v0, Lcom/hierynomus/smbj/smb2/SMB2Dialect;->SMB_3_1_1:Lcom/hierynomus/smbj/smb2/SMB2Dialect;

    if-eq p3, v0, :cond_0

    return-void

    .line 2
    :cond_0
    invoke-virtual {p1, p2}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->f(I)V

    .line 3
    new-instance p1, Ljava/lang/UnsupportedOperationException;

    const-string p2, "Cannot read NegotiateContextList yet"

    invoke-direct {p1, p2}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V

    throw p1
.end method

.method private b(Lcom/hierynomus/smbj/common/b;II)[B
    .locals 0
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/hierynomus/protocol/commons/buffer/Buffer$BufferException;
        }
    .end annotation

    if-lez p3, :cond_0

    .line 17
    invoke-virtual {p1, p2}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->f(I)V

    .line 18
    invoke-virtual {p1, p3}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->e(I)[B

    move-result-object p1

    return-object p1

    :cond_0
    const/4 p1, 0x0

    new-array p1, p1, [B

    return-object p1
.end method

.method private e(Lcom/hierynomus/smbj/common/b;)I
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/hierynomus/protocol/commons/buffer/Buffer$BufferException;
        }
    .end annotation

    .line 1
    iget-object v0, p0, Lcom/hierynomus/smbj/smb2/messages/i;->d:Lcom/hierynomus/smbj/smb2/SMB2Dialect;

    sget-object v1, Lcom/hierynomus/smbj/smb2/SMB2Dialect;->SMB_3_1_1:Lcom/hierynomus/smbj/smb2/SMB2Dialect;

    if-ne v0, v1, :cond_0

    .line 2
    invoke-virtual {p1}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->g()I

    move-result p1

    return p1

    :cond_0
    const/4 v0, 0x2

    .line 3
    invoke-virtual {p1, v0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->g(I)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    const/4 p1, 0x0

    return p1
.end method


# virtual methods
.method protected b(Lcom/hierynomus/smbj/common/b;)V
    .locals 4
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/hierynomus/protocol/commons/buffer/Buffer$BufferException;
        }
    .end annotation

    const/4 v0, 0x2

    .line 1
    invoke-virtual {p1, v0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->g(I)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 2
    invoke-virtual {p1}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->g()I

    move-result v0

    iput v0, p0, Lcom/hierynomus/smbj/smb2/messages/i;->c:I

    .line 3
    invoke-virtual {p1}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->g()I

    move-result v0

    invoke-static {v0}, Lcom/hierynomus/smbj/smb2/SMB2Dialect;->lookup(I)Lcom/hierynomus/smbj/smb2/SMB2Dialect;

    move-result-object v0

    iput-object v0, p0, Lcom/hierynomus/smbj/smb2/messages/i;->d:Lcom/hierynomus/smbj/smb2/SMB2Dialect;

    .line 4
    invoke-direct {p0, p1}, Lcom/hierynomus/smbj/smb2/messages/i;->a(Lcom/hierynomus/protocol/commons/buffer/Buffer;)I

    move-result v0

    .line 5
    invoke-static {p1}, Lcom/hierynomus/msdtyp/a;->b(Lcom/hierynomus/protocol/commons/buffer/Buffer;)Ljava/util/UUID;

    move-result-object v1

    iput-object v1, p0, Lcom/hierynomus/smbj/smb2/messages/i;->e:Ljava/util/UUID;

    .line 6
    invoke-virtual {p1}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->i()J

    move-result-wide v1

    iput-wide v1, p0, Lcom/hierynomus/smbj/smb2/messages/i;->f:J

    .line 7
    invoke-virtual {p1}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->j()I

    move-result v1

    iput v1, p0, Lcom/hierynomus/smbj/smb2/messages/i;->g:I

    .line 8
    invoke-virtual {p1}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->j()I

    move-result v1

    iput v1, p0, Lcom/hierynomus/smbj/smb2/messages/i;->h:I

    .line 9
    invoke-virtual {p1}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->j()I

    move-result v1

    iput v1, p0, Lcom/hierynomus/smbj/smb2/messages/i;->i:I

    .line 10
    invoke-static {p1}, Lcom/hierynomus/msdtyp/a;->a(Lcom/hierynomus/protocol/commons/buffer/Buffer;)Ljava/util/Date;

    move-result-object v1

    iput-object v1, p0, Lcom/hierynomus/smbj/smb2/messages/i;->j:Ljava/util/Date;

    .line 11
    invoke-static {p1}, Lcom/hierynomus/msdtyp/a;->a(Lcom/hierynomus/protocol/commons/buffer/Buffer;)Ljava/util/Date;

    move-result-object v1

    iput-object v1, p0, Lcom/hierynomus/smbj/smb2/messages/i;->k:Ljava/util/Date;

    .line 12
    invoke-virtual {p1}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->g()I

    move-result v1

    .line 13
    invoke-virtual {p1}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->g()I

    move-result v2

    .line 14
    invoke-direct {p0, p1}, Lcom/hierynomus/smbj/smb2/messages/i;->e(Lcom/hierynomus/smbj/common/b;)I

    move-result v3

    .line 15
    invoke-direct {p0, p1, v1, v2}, Lcom/hierynomus/smbj/smb2/messages/i;->b(Lcom/hierynomus/smbj/common/b;II)[B

    move-result-object v1

    iput-object v1, p0, Lcom/hierynomus/smbj/smb2/messages/i;->l:[B

    .line 16
    invoke-direct {p0, p1, v3, v0}, Lcom/hierynomus/smbj/smb2/messages/i;->a(Lcom/hierynomus/smbj/common/b;II)V

    return-void
.end method

.method public c()J
    .locals 2

    .line 1
    iget-wide v0, p0, Lcom/hierynomus/smbj/smb2/messages/i;->f:J

    return-wide v0
.end method

.method public d()Lcom/hierynomus/smbj/smb2/SMB2Dialect;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/hierynomus/smbj/smb2/messages/i;->d:Lcom/hierynomus/smbj/smb2/SMB2Dialect;

    return-object v0
.end method

.method public e()[B
    .locals 1

    .line 4
    iget-object v0, p0, Lcom/hierynomus/smbj/smb2/messages/i;->l:[B

    return-object v0
.end method

.method public f()I
    .locals 1

    .line 1
    iget v0, p0, Lcom/hierynomus/smbj/smb2/messages/i;->h:I

    return v0
.end method

.method public g()I
    .locals 1

    .line 1
    iget v0, p0, Lcom/hierynomus/smbj/smb2/messages/i;->g:I

    return v0
.end method

.method public h()I
    .locals 1

    .line 1
    iget v0, p0, Lcom/hierynomus/smbj/smb2/messages/i;->i:I

    return v0
.end method

.method public i()I
    .locals 1

    .line 1
    iget v0, p0, Lcom/hierynomus/smbj/smb2/messages/i;->c:I

    return v0
.end method

.method public j()Ljava/util/UUID;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/hierynomus/smbj/smb2/messages/i;->e:Ljava/util/UUID;

    return-object v0
.end method
